package com.ruoyi.basic.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.basic.domain.BasicFamily;
import org.springframework.stereotype.Repository;

/**
 * 家庭成员Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-20
 */
@Repository
public interface BasicFamilyMapper extends BaseMapper<BasicFamily>
{

    /**
     * 查询家庭成员列表
     * 
     * @param basicFamily 家庭成员
     * @return 家庭成员集合
     */
    public List<BasicFamily> selectBasicFamilyList(BasicFamily basicFamily);

    /**
     * 根据家庭人员id查询
     * @param familyId
     * @return
     */
    public BasicFamily selectBasicFamilyById(Long familyId);
}
